package com.botarena.shared;

import java.util.List;

public class BattlePreviewInfo extends BattleInfo {

	private static final long serialVersionUID = 2327360735556684282L;

	private List<BattleTurn> process;
	private String justification;

	public BattlePreviewInfo() {
		// Serializable
	}

	public BattlePreviewInfo(String battleKey, String bot1Name,
			String bot2Name, int winner, String contestName, String date,
			List<BattleTurn> process, String justification) {
		super(battleKey, bot1Name, bot2Name, winner, contestName, date);
		this.process = process;
		this.justification = justification;
	}

	public BattlePreviewInfo(BattleInfo info, List<BattleTurn> process, String justification) {
		super(info.getBattleKey(), info.getBot1Name(), info.getBot2Name(), info
				.getWinner(), info.getContestName(), info.getDate());
		this.process = process;
		this.justification = justification;
	}

	public void setProcess(List<BattleTurn> process) {
		this.process = process;
	}

	public List<BattleTurn> getProcess() {
		return process;
	}

	public String getJustification() {
		return justification;
	}

}
